<template>
  <div class="div-main">
    <!-- 左边 内容  -->
    <div class="div-left">
      <!-- 项目分布 地图 -->
      <div class="div-left-left-top">
        <div class="div-left-left-top-img">
          <el-image style="margin-top: 20px;margin-left: 13px; " :src="require('@/assets/yqdp/icon/大标题.png')"></el-image>
          <span class="title-font">项目分布</span>
        </div>

        <!-- 项目简介 -->
        <el-image style="margin-left:120px" :src="require('@/assets/yqdp/地图/003.png')" fit="fit"></el-image>
        <div style="margin-top:-50px">
          <el-image style="margin-top: 20px;margin-left: 13px; " :src="require('@/assets/yqdp/icon/大标题.png')"></el-image>
          <span class="title-font">项目简介</span>
        </div>
        <div style="position: absolute; margin-left:40px;margin-top:19px">
          <span
            style="ont-family:Microsoft YaHei;
                font-weight:700;
                color:#ffffff;
                font-size:26px;"
          >山西厚生锂电池隔膜项目</span>

          <p
            style="ont-family:Microsoft YaHei;
              color:#ffffff;
              font-size:22px;
              line-height:35px;
              text-indent:2em;
              width:792px;
              "
          >各种规格的湿法基膜和功能性涂覆隔膜的研发、生产、销售等， 其中包括8条锂离子电池隔膜生产线、16条陶瓷涂覆线和6条油 性涂覆线以及纳米复合膜超级工厂和现代物流仓储中心。</p>
        </div>
      </div>

      <!-- 签约时间 等项目表格内容  -->
      <div class="div-left-left-middle">
        <div class="div-c-1">
          <div class="div-content">
            <div class="div-img"></div>
            <div class="div-cent">
              <div>
                <span class="span-title" style>签约时间</span>
              </div>
              <!-- <span class="span-title" style>签约时间</span> -->
              <div class="div-filed">
                <span class="span-filed">一期：</span>
                <span class="span-filed-cent">2021年1月4日</span>
              </div>
              <div class="div-filed">
                <span class="span-filed">二期：</span>
                <span class="span-filed-cent">2021年5月28日</span>
              </div>
            </div>
          </div>

          <div class="div-content">
            <div class="div-img"></div>
            <div class="div-cent-right">
              <div class="div-cent-1">
                <div>
                  <span class="span-title" style>项目投资</span>
                </div>
                <div class="div-filed">
                  <span class="span-filed">一期：</span>
                  <span class="span-filed-cent">20亿元</span>
                </div>
                <div class="div-filed">
                  <span class="span-filed">二期：</span>
                  <span class="span-filed-cent">25亿元</span>
                </div>
              </div>

              <div class="div-cent-2">
                <div>
                  <span class="span-title" style>本年度预计投资</span>
                </div>
                <div class="div-filed-2">
                  <span class="span-filed-cent-2">5亿元</span>
                </div>
              </div>
            </div>
          </div>
        </div>

        <div class="div-c-2">
          <div class="div-content">
            <div class="div-img"></div>
            <div class="div-cent">
              <div>
                <span class="span-title" style>占地面积</span>
              </div>
              <!-- <span class="span-title" style>签约时间</span> -->
              <div class="div-filed">
                <span class="span-filed">一期：</span>
                <span class="span-filed-cent">250亩</span>
              </div>
              <div class="div-filed">
                <span class="span-filed">二期：</span>
                <span class="span-filed-cent">265亩</span>
              </div>
            </div>
          </div>

          <div class="div-content">
            <div class="div-img"></div>
            <div class="div-cent-right">
              <div class="div-cent-1">
                <div>
                  <span class="span-title" style>达产后预计产值</span>
                </div>
                <div class="div-filed-2">
                  <span class="span-filed-cent-2">5亿元</span>
                </div>
              </div>

              <div class="div-cent-2">
                <div>
                  <span class="span-title" style>达产后预计税收</span>
                </div>
                <div class="div-filed">
                  <span class="span-filed">一期：</span>
                  <span class="span-filed-cent">0.37亿元/年</span>
                </div>
                <div class="div-filed">
                  <span class="span-filed">二期：</span>
                  <span class="span-filed-cent">0.39亿元/年</span>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>

      <!-- 项目专班成员 -->
      <div class="div-left-left-bottom">
        <div class="div-left-left-user">
          <div class="div-left-left-top-img">
            <el-image style="margin-top: 20px;margin-left: 13px; " :src="require('@/assets/yqdp/icon/大标题.png')"></el-image>
            <span class="title-font">项目专班成员</span>
          </div>
          <div class="div-leader-cent">
            <!-- <div class="div-leader-cent" style=" "> -->
            <!-- 班长 -->
            <div class="leader-1">
              <div class="tuoxiang">
                <el-avatar :size="80" src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"></el-avatar>
              </div>
              <div class="name">
                <div>
                  <span class="leader-font">张张经</span>
                </div>
                <div>
                  <span class="leader-font">(班长)</span>
                </div>
              </div>
            </div>
            <!-- 副班长 -->
            <div class="leader-2">
              <div style="tuoxiang">
                <el-avatar :size="70" src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"></el-avatar>
              </div>
              <div class="name">
                <div>
                  <span class="leader-font">刘刘刘</span>
                </div>
                <div>
                  <span class="leader-font">(副班长)</span>
                </div>
              </div>
            </div>

            <!-- 管家 -->
            <div class="users">
              <el-row>
                <el-col :span="8">
                  <div style="tuoxiang">
                    <el-avatar :size="60" src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"></el-avatar>
                  </div>
                  <div class="name">
                    <div>
                      <span class="leader-font">刘刘刘</span>
                    </div>
                    <div>
                      <span class="leader-font">(管家)</span>
                    </div>
                  </div>
                </el-col>
                <el-col :span="8">
                  <div style="tuoxiang">
                    <el-avatar :size="60" src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"></el-avatar>
                  </div>
                  <div class="name">
                    <div>
                      <span class="leader-font">刘刘刘</span>
                    </div>
                    <div>
                      <span class="leader-font">(管家)</span>
                    </div>
                  </div>
                </el-col>
                <el-col :span="8">
                  <div style="tuoxiang">
                    <el-avatar :size="60" src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"></el-avatar>
                  </div>
                  <div class="name">
                    <div>
                      <span class="leader-font">刘刘刘</span>
                    </div>
                    <div>
                      <span class="leader-font">(管家)</span>
                    </div>
                  </div>
                </el-col>
                <el-col :span="8">
                  <div style="tuoxiang">
                    <el-avatar :size="60" src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png"></el-avatar>
                  </div>
                  <div class="name">
                    <div>
                      <span class="leader-font">刘刘刘</span>
                    </div>
                    <div>
                      <span class="leader-font">(管家)</span>
                    </div>
                  </div>
                </el-col>
              </el-row>
            </div>
          </div>
        </div>

        <!-- 专班服务情况 -->
        <div class="div-left-left-star">
          <div class="div-left-left-top-img">
            <el-image style="margin-top: 20px;margin-left: 13px; " :src="require('@/assets/yqdp/icon/大标题.png')"></el-image>
            <span class="title-font">专班服务情况</span>
          </div>
          <div class="div-star">
            <el-row>
              <el-col :span="8">
                <div class="star-back">
                  <div class="tupian">
                    <el-avatar :size="60" fit="cover" :src="require('@/assets/yqdp/icon/专班服务情况/入企业次数.png')"></el-avatar>
                  </div>
                  <div class="font span-num">
                    <span>入企次数</span>
                  </div>
                  <div class="font span-num">
                    <span>490次</span>
                  </div>
                </div>
              </el-col>
              <el-col :span="8">
                <div class="star-back">
                  <div>
                    <el-avatar :size="60" fit="cover" :src="require('@/assets/yqdp/icon/专班服务情况/下达联络单.png')"></el-avatar>
                  </div>
                  <div class="font span-num">
                    <span>下达联络单</span>
                  </div>
                  <div class="font span-num">
                    <span>20件</span>
                  </div>
                </div>
              </el-col>
              <el-col :span="8">
                <div class="star-back">
                  <div>
                    <el-avatar :size="60" fit="cover" :src="require('@/assets/yqdp/icon/专班服务情况/召开调度会议.png')"></el-avatar>
                  </div>
                  <div class="font span-num">
                    <span>召开调度会议</span>
                  </div>
                  <div class="font span-num">
                    <span>10次</span>
                  </div>
                </div>
              </el-col>
              <el-col :span="8">
                <div class="star-back">
                  <div>
                    <el-avatar :size="60" fit="cover" :src="require('@/assets/yqdp/icon/专班服务情况/收集问题.png')"></el-avatar>
                  </div>
                  <div class="font span-num">
                    <span>收集问题</span>
                  </div>
                  <div class="font span-num">
                    <span>120个</span>
                  </div>
                </div>
              </el-col>
              <el-col :span="8">
                <div class="star-back">
                  <div>
                    <el-avatar :size="60" fit="cover" :src="require('@/assets/yqdp/icon/专班服务情况/解决问题.png')"></el-avatar>
                  </div>
                  <div class="font span-num">
                    <span>解决问题</span>
                  </div>
                  <div class="font span-num">
                    <span>90个</span>
                  </div>
                </div>
              </el-col>
              <el-col :span="8">
                <div class="star-back">
                  <div>
                    <el-avatar :size="60" fit="cover" :src="require('@/assets/yqdp/icon/专班服务情况/问题办结率.png')"></el-avatar>
                  </div>
                  <div class="font span-num">
                    <span>问题办结率</span>
                  </div>
                  <div class="font span-num">
                    <span>95%</span>
                  </div>
                </div>
              </el-col>
            </el-row>
          </div>
        </div>
      </div>
    </div>

    <!-- 中间内容 -->
    <div class="div-mid">
      <!-- “星级管家”服务情况 -->
      <div class="mid-top">
        <div class="div-left-left-top-img">
          <el-image style="margin-top: 20px;margin-left: 13px; " :src="require('@/assets/yqdp/icon/大标题.png')"></el-image>
          <span class="title-font">“星级管家”服务情况</span>
        </div>
        <div>
          <el-row>
            <el-col :span="8">
              <div class="tupian">
                <el-image fit="cover" :src="require('@/assets/yqdp/icon/星级管家服务/入企次数.png')"></el-image>
              </div>
              <div class="cent">
                <div>
                  <span class="font-name">入企次数</span>
                </div>
                <div>
                  <span class="font-cent">6490次</span>
                </div>
              </div>
            </el-col>
            <el-col :span="8">
              <div class="tupian">
                <el-image fit="cover" :src="require('@/assets/yqdp/icon/星级管家服务/下达联络单.png')"></el-image>
              </div>
              <div class="cent">
                <div>
                  <span class="font-name">下达联络单</span>
                </div>
                <div>
                  <span class="font-cent">190件</span>
                </div>
              </div>
            </el-col>
            <el-col :span="8">
              <div class="tupian">
                <el-image fit="cover" :src="require('@/assets/yqdp/icon/星级管家服务/召开调度会议.png')"></el-image>
              </div>
              <div class="cent">
                <div>
                  <span class="font-name">召开调度会议</span>
                </div>
                <div>
                  <span class="font-cent">27次</span>
                </div>
              </div>
            </el-col>
            <el-col :span="8">
              <div class="tupian">
                <el-image fit="cover" :src="require('@/assets/yqdp/icon/星级管家服务/收集问题.png')"></el-image>
              </div>
              <div class="cent">
                <div>
                  <span class="font-name">收集问题</span>
                </div>
                <div>
                  <span class="font-cent">1058个</span>
                </div>
              </div>
            </el-col>
            <el-col :span="8">
              <div class="tupian">
                <el-image fit="cover" :src="require('@/assets/yqdp/icon/星级管家服务/解决问题.png')"></el-image>
              </div>
              <div class="cent">
                <div>
                  <span class="font-name">解决问题</span>
                </div>
                <div>
                  <span class="font-cent">955个</span>
                </div>
              </div>
            </el-col>
            <el-col :span="8">
              <div class="tupian">
                <el-image fit="cover" :src="require('@/assets/yqdp/icon/星级管家服务/问题办结率.png')"></el-image>
              </div>
              <div class="cent">
                <div>
                  <span class="font-name">问题办结率</span>
                </div>
                <div>
                  <span class="font-cent">90%</span>
                </div>
              </div>
            </el-col>
          </el-row>
        </div>
      </div>

      <!-- 中心资讯 -->
      <div class="mid-mid">
        <div class="div-left-left-top-img">
          <el-image style="margin-top: 20px;margin-left: 13px; " :src="require('@/assets/yqdp/icon/大标题.png')"></el-image>
          <span class="title-font">中心资讯</span>
        </div>

        <div class="mid-cent">
          <el-image
            fit="cover"
            class="tupian"
            src="https://cube.elemecdn.com/6/94/4d3ea53c084bad6931a56d5158a48jpeg.jpeg"
          ></el-image>
        </div>
      </div>

      <!-- 项目进度 -->
      <div class="div-progress">
        <div class="progress-header">
          <div class="div-left-left-top-img">
            <el-image style="margin-top: 20px;margin-left: 13px; " :src="require('@/assets/yqdp/icon/大标题.png')"></el-image>
            <span class="title-font">项目进度</span>
          </div>
          <div class="progress-cfg">
            <div class="cfg-finish"></div>
            <div class="cfg-finish-title">
              <span class="cfg-title-font">已完成</span>
            </div>
            <div class="cfg-doing"></div>
            <div class="cfg-finish-title">
              <span class="cfg-title-font">进行中</span>
            </div>
            <div class="cfg-init"></div>
            <div class="cfg-finish-title">
              <span class="cfg-title-font">未完成</span>
            </div>
          </div>
        </div>
        <div class="progress-cent">
          <el-row>
            <el-col :span="3" v-for="(item,index) in progress" :key="index">
              <div
                class="pro-cent-cent"
                :style="{ 'border-color': item.progressState=='0'?'#ff0000':(item.progressState=='1'?'#ffea30':'#00d848')}"
              >
                <div
                  class="pro-align"
                  :style="{padding:item.custProjectProgressConfig.name.length>4?'8px 10px 10px 10px':'15px 10px 10px 10px'}"
                >
                  <span class="cent-cent-font">{{item.custProjectProgressConfig.name}}</span>
                </div>
              </div>
              <div v-if="index !=7 && index!=15 && index !=23" class="pro-item-bar"></div>
              <div v-if="index==7 || index==8" class="pro-item-bar-2"></div>
            </el-col>
          </el-row>
        </div>
      </div>
    </div>

    <!-- 右边内容 -->
    <div class="div-right">
      <!-- 时间 -->
      <div class="div-time-main">
        <div class="time-cent" style="width: 155px;">{{ date | formatTimerTime}}</div>
        <div class="time-cent" style="width: 310px;">{{ date | formatTimerDate }}</div>
        <div class="time-cent" @click="fullscreen">{{ date | formatTimerWeek }}</div>
      </div>

      <!-- 天气 -->
      <div class="div-weather-main">
        <!-- 预警 -->
        <div class="weather-warning">
          <div style="float:left">
            <el-image fit="cover" :src="require('@/assets/yqdp/icon/异常报警.png')"></el-image>
          </div>
          <div style="float:left;margin-top:10px;">
            <span>预警：两小时内有暴雨，请做好暴雨防护措施。</span>
          </div>
        </div>
        <!-- 天气 -->
        <div class="weather-cent"></div>
      </div>

      <!-- 党建之窗 -->
      <div class="div-party-main">
        <div class="party-header" style="width:336px;
              height:70px;">
          <div class="div-left-left-top-img">
            <el-image style="margin-top: 20px;margin-left: 13px; " :src="require('@/assets/yqdp/icon/大标题.png')"></el-image>
            <span class="title-font">党建之窗</span>
          </div>
        </div>
        <!-- 时间 -->
        <div class="party-time">
          <div class="time-cri"></div>
          <div class="time-font">1943年8月30日</div>
        </div>
        <!-- 内容 -->
        <div class="party-cent">
          <p>毛泽东主持召开中共中央政治局会议，听取周恩来关于三年来大后方工作的报告。周恩来在报告中指出：国民党对美国很迷信。中间阶层面大，但组织弱，行动散漫，斗争经验缺乏。现在大后方通货膨胀。从我们来说，大后方的工作要服从根据地的基本利益。大后方的工作方针是争取无产阶级对中小地主和民族资产阶级的领导权，过去陈绍禹的意见是错误的。我们的口号是抗战、团结、进步。我们主张：积极抗战，反对消极抗战：坚持团结，不怕分裂；同国民党平等合作；真正进步，反对落后倒退；争取外援，反对依靠外援。关于国共关系问题，我们对党内教育的口号应是争取好转，不忘逆转，争取合作，警惕突然事变的到来。</p>
          <p>在八月三十日的会议上，毛泽东讲了抗日时期党的路线问题，指出：国民党这次对我们的军事进攻和政治进攻确实被打下去了，现在蒋介石下令停止“取消中共”的宣传。我们同国民党合作，国民党的政策是两面政策，抗日与反共。我们对国民党的斗争是以斗争求团结，中央的路线是正确的，陈绍禹同志只要团结不要斗争的路线是错误的。陈绍禹同志抹杀国民党内部的区别，反对抗日阵线中有左、中、右之分，只分抗日阵线和非抗日阵线。他认为中国是被侵略国就没有法西斯主义。现在证明国民党大地主大资产阶级更加反动了，如出版《中国之命运》，调兵进攻陕甘宁边区，同时又更软弱了。毛泽东还指出：陈绍禹同志一九四一年在中央书记处会议上说中央路线是错误的，《新民主主义论》要修改；两年来他还向人宣传中央路线是错误的。会议根据毛泽东提议，决定继续举行政治局会议，展开讨论抗日时期党的路线问题。</p>
        </div>
      </div>
      <!-- 信息及通告 -->
      <div class="div-notice-main">
        <div class="notice-header">
          <div class="div-left-left-top-img">
            <el-image style="margin-top: 20px;margin-left: 13px; " :src="require('@/assets/yqdp/icon/大标题.png')"></el-image>
            <span class="title-font">信息及通告</span>
          </div>
        </div>
        <div class="notic-cent-main">
          <!-- 标题 -->
          <div class="notice-title">加快工作进度 全力推动项目建设</div>
          <!-- 图片 -->
          <div class="notic-pic">
            <el-image
              fit="cover"
              class="tupian"
              src="https://cube.elemecdn.com/6/94/4d3ea53c084bad6931a56d5158a48jpeg.jpeg"
            ></el-image>
          </div>
          <!-- 内容 -->
          <div class="notice-cent">
            <p>8月2日，万家寨项目专班全体人员在张剑龙书记的安排部署下，前往项目施工现场与项目相关负责人进行沟通交流，就部分工程施工设计、施工方案、专家论证等工作推进情况以及实际工作中存在的困难进行了对接服务。</p>
            <p>目前万家寨水控装备研发基地项目已组织召开（生活服务中心、科研中心）深基坑支护工程专项施工方案论证会。会议由甲方、监理方、勘察方、设计方、施工方五方责任主体，以及山西省岩土专业专家库五位专家组成员参与，项目施工方对深基坑方案及设计方案进行了汇报，专家组成员听</p>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
// 这里可以导入其他文件（比如：组件，工具js，第三方插件js，json文件，图片文件等等）
// 例如：import 《组件名称》 from '《组件路径》';
import screenfull from 'screenfull'
const weekArr = ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"]
export default {
  // import引入的组件需要注入到对象中才能使用
  data() {
    // 这里存放数据
    return {
      screenfullBut: false, // 全屏按钮
      //实时时间
      date: new Date(),

      //项目进度
      progress: [
        {
          "progressState": "2",
          "custProjectProgressConfig": {
            "name": "公司注册",
            "sort": "1"
          }
        },
        {
          "progressState": "2",
          "custProjectProgressConfig": {
            "name": "项目备案",
            "sort": "2"
          }
        },
        {
          "progressState": "2",
          "custProjectProgressConfig": {
            "name": "供地状态",
            "sort": "3"
          }
        },
        {
          "progressState": "0",
          "custProjectProgressConfig": {
            "name": "土地不动产证",
            "sort": "4"
          }
        },
        {
          "progressState": "2",
          "custProjectProgressConfig": {
            "name": "环境评价",
            "sort": "5"
          }
        },
        {
          "progressState": "1",
          "custProjectProgressConfig": {
            "name": "节能评价",
            "sort": "6"
          }
        },
        {
          "progressState": "1",
          "custProjectProgressConfig": {
            "name": "职业卫生与安全",
            "sort": "7"
          }
        },
        {
          "progressState": "1",
          "custProjectProgressConfig": {
            "name": "用地规划许可",
            "sort": "8"
          }
        },
        {
          "progressState": "1",
          "custProjectProgressConfig": {
            "name": "工程规划许可",
            "sort": "9"
          }
        },
        {
          "progressState": "1",
          "custProjectProgressConfig": {
            "name": "施工许可",
            "sort": "10"
          }
        },
        {
          "progressState": "1",
          "custProjectProgressConfig": {
            "name": "设计方案",
            "sort": "11"
          }
        },
        {
          "progressState": "1",
          "custProjectProgressConfig": {
            "name": "地质勘察",
            "sort": "12"
          }
        },
        {
          "progressState": "1",
          "custProjectProgressConfig": {
            "name": "施工设计",
            "sort": "13"
          }
        },
        {
          "progressState": "2",
          "custProjectProgressConfig": {
            "name": "供水配套",
            "sort": "14"
          }
        },
        {
          "progressState": "2",
          "custProjectProgressConfig": {
            "name": "供电配套",
            "sort": "15"
          }
        },
        {
          "progressState": "2",
          "custProjectProgressConfig": {
            "name": "排水配套",
            "sort": "16"
          }
        },
        {
          "progressState": "1",
          "custProjectProgressConfig": {
            "name": "施工合同",
            "sort": "17"
          }
        },
        {
          "progressState": "2",
          "custProjectProgressConfig": {
            "name": "施工进场",
            "sort": "18"
          }
        },
        {
          "progressState": "2",
          "custProjectProgressConfig": {
            "name": "基础施工",
            "sort": "19"
          }
        },
        {
          "progressState": "0",
          "custProjectProgressConfig": {
            "name": "投资入统",
            "sort": "20"
          }
        },
        {
          "progressState": "2",
          "custProjectProgressConfig": {
            "name": "主体施工",
            "sort": "21"
          }
        },
        {
          "progressState": "0",
          "custProjectProgressConfig": {
            "name": "设备安装",
            "sort": "22"
          }
        },
        {
          "progressState": "0",
          "custProjectProgressConfig": {
            "name": "试生产",
            "sort": "23"
          }
        },
        {
          "progressState": "0",
          "custProjectProgressConfig": {
            "name": "正式生产",
            "sort": "24"
          }
        }
      ],
    }
  },
  filters: {
    formatTimerDate: function (value) {
      let date = new Date(value);
      let y = date.getFullYear();
      let MM = date.getMonth() + 1;
      MM = MM < 10 ? "0" + MM : MM;
      let d = date.getDate();
      d = d < 10 ? "0" + d : d;
      let h = date.getHours();
      h = h < 10 ? "0" + h : h;
      let m = date.getMinutes();
      m = m < 10 ? "0" + m : m;
      let s = date.getSeconds();
      s = s < 10 ? "0" + s : s;
      return y + "年" + MM + "月" + d + "日";
    },
    formatTimerTime: function (value) {
      let date = new Date(value);
      let y = date.getFullYear();
      let MM = date.getMonth() + 1;
      MM = MM < 10 ? "0" + MM : MM;
      let d = date.getDate();
      d = d < 10 ? "0" + d : d;
      let h = date.getHours();
      h = h < 10 ? "0" + h : h;
      let m = date.getMinutes();
      m = m < 10 ? "0" + m : m;
      let s = date.getSeconds();
      s = s < 10 ? "0" + s : s;
      return h + ":" + m + ":" + s;
    },
    formatTimerWeek: function (value) {
      let date = new Date(value);
      let y = date.getDay();

      return weekArr[y];
    }
  },
  // 监听属性 类似于data概念
  computed: {},
  // 监控data中的数据变化
  watch: {},
  // 方法集合
  methods: {
    // 全屏功能
    fullscreen() {
      // debugger;
      if (!screenfull.isEnabled) {
        this.$notification.open({
          message: '温馨提示',
          description:
            '您的浏览器无法使用全屏功能，请更换谷歌浏览器或者请手动点击F11按钮全屏展示！',
          duration: 10,
          placement: 'bottomLeft',
        });
        return false
      }
      screenfull.toggle();
      if (screenfull.isFullscreen) {
        this.screenfullBut = false;
      } else {
        this.screenfullBut = true;
      }
    },

  },
  // 生命周期 - 创建完成（可以访问当前this实例）
  created() {

  },
  // 生命周期 - 挂载完成（可以访问DOM元素）
  mounted() {
    let _this = this; // 声明一个变量指向Vue实例this，保证作用域一致
    this.timer = setInterval(() => {
      _this.date = new Date(); // 修改数据date
    }, 1000);
  },
  beforeCreate() { }, // 生命周期 - 创建之前
  beforeMount() { }, // 生命周期 - 挂载之前
  beforeUpdate() { }, // 生命周期 - 更新之前
  updated() { }, // 生命周期 - 更新之后
  beforeDestroy() {
    let _this = this; // 声明一个变量指向Vue实例this，保证作用域一致
    this.timer = setInterval(() => {
      _this.date = new Date(); // 修改数据date
    }, 1000);
  }, // 生命周期 - 销毁之前
  destroyed() { }, // 生命周期 - 销毁完成
  activated() { } // 如果页面有keep-alive缓存功能，这个函数会触发
}
</script>
<style lang='scss' scoped>
// @import url(); 引入公共css类

.div-main {
  width: 3072px;
  height: 1536px;
  box-sizing: border-box;
  background-color: #32005e;
  // position: absolute;
  position: relative;
  padding-top: 20px;
  padding-left: 13px;
  padding-right: 13px;
  padding-bottom: 15px;
}
.div-left {
  // width: 2157px;
  width: 873px;
  height: 1500px;
  box-sizing: border-box;
  // margin-left: 13px;
  // margin-top:20px;
  position: relative;
  // position: absolute;
  border: 2px solid;
  border-color: #440082;
  border-radius: 15px 15px 0px 15px;
  float: left;
  z-index: 10;

  .div-left-left-top {
    position: absolute;
    background-image: url("../../assets/yqdp/地图/蒙版.png");
    background-size: cover;
    width: 873px;
    height: 660px;
  }
  .div-left-left-top-img {
    position: absolute;
    height: 46px;
    span {
      width: 220px;
      height: 46px;
      // margin-top: 18px;
      margin-left: 3px;
    }
  }
  .div-left-left-middle {
    position: absolute;
    width: 873px;
    height: 380px;
    margin-top: 730px;
    margin-left: 40px;

    .div-c-1 {
      height: 170px;
    }
    .div-c-2 {
      margin-top: 30px;
      height: 170px;
    }
    .div-content {
      // opacity: 40%;
      // width: 289px;
      // height: 166px;
      // background-image: linear-gradient(
      //   180deg,
      //   rgba(197, 248, 254, 0.27) 0%,
      //   rgba(162, 235, 246, 0.5) 100%
      // );
      // border-radius: 7px;
      float: left;
      margin-right: 30px;

      .div-img {
        width: 56px;
        height: 160px;
        background-image: linear-gradient(
          270.4deg,
          rgba(72, 37, 123, 0) 0%,
          #522199 100%
        );
        border: 3px solid;
        border-color: #4e058f;
        border-radius: 7px 0px 0px 7px;
        // margin-left: 1px;
        float: left;
      }
      .div-cent {
        float: left;
        min-width: 233px;
        height: 160px;
        background-color: #491079;
        border-radius: 0px 7px 7px 0px;
        padding-top: 6px;
      }

      .div-cent-right {
        float: left;
        min-width: 440px;
        height: 160px;
        background-color: #491079;
        border-radius: 0px 7px 7px 0px;
        padding-top: 6px;
      }

      .div-cent-1 {
        float: left;
        width: 170px;
      }
      .div-cent-2 {
        float: left;
        margin-left: 40px;
        margin-right: 40px;
      }

      .span-title {
        width: 93px;
        height: 29px;
        font-family: Microsoft YaHei;
        font-weight: 700;
        color: #ffffff;
        font-size: 22px;
        // letter-spacing:83px;
        line-height: 35px;
        // z-index: 99;
        margin-left: 16px;
      }
      .div-filed {
        margin-left: 16px;
        padding-top: 10px;
      }
      .div-filed-2 {
        margin-left: 2em;
        padding-top: 2em;
      }
      .span-filed {
        font-family: Microsoft YaHei;
        color: #ffffff;
        font-size: 20px;
        line-height: 35px;
      }
      .span-filed-cent {
        font-weight: 700;
        color: #ffea30;
        font-size: 20px;
        line-height: 35px;
      }
      .span-filed-cent-2 {
        font-weight: 700;
        color: #ffea30;
        font-size: 20px;
        line-height: 35px;
        margin-left: 2em;
      }
    }
  }

  .div-left-left-bottom {
    position: absolute;
    margin-top: 1115px;
    height: 406px;
    width: 877px;
    box-sizing: border-box;
  }
  .div-left-left-user {
    // position: absolute;
    width: 450px;
    height: 370px;
    float: left;

    .div-leader-cent {
      margin-left: 45px;
      margin-top: 69px;
      position: absolute;

      .el-avatar {
        border: 2px solid;
        border-color: #035aa9;
        background: transparent;
      }

      .leader-1 {
        margin-left: 110px;
        // position: absolute;

        .tuoxiang {
        }
        .name {
          margin-left: 90px;
          margin-top: -70px;
        }
        .role {
        }
      }

      .leader-2 {
        margin-left: 120px;
        // position: absolute;
        margin-top: 30px;

        .tuoxiang {
        }
        .name {
          margin-left: 80px;
          margin-top: -65px;
        }
        .role {
        }
      }

      .users {
        margin-top: 20px;
        margin-left: -20px;
        .tuoxiang {
        }
        .name {
          margin-left: 65px;
          margin-top: -60px;
        }
        .role {
        }
        .el-col {
          margin-bottom: 30px;
          margin-left: -5px;
          &:last-child {
            margin-bottom: 0;
          }
        }
      }
    }
  }
  .div-left-left-star {
    // position: absolute;
    float: left;
    width: 314px;
    height: 370px;
    margin-right: -60px;

    .div-star {
      margin-left: 40px;
      margin-top: 69px;
      position: absolute;
      .el-row {
        margin-right: -50px;
      }

      .el-col {
        margin-bottom: 10px;
        margin-left: -15px;
        &:last-child {
          margin-bottom: 0;
        }
      }

      .el-avatar {
        border: 2px solid;
        border-color: #035aa9;
        margin-top: 10px;
        // opacity: 1;
        background: transparent;
      }
      .tupian {
        // border: 2px solid;
        // border-color: #035aa9;
        // margin-top: 10px;
        // opacity: 1;
      }

      .span-num {
        margin-top: 10px;
      }

      .star-back {
        // opacity: 44%;
        width: 120px;
        height: 150px;
        background-color: #43027d;
        text-align: center;
      }

      .font {
        color: #ffffff;
        font-size: 18px;
        font-family: Source Han Sans CN;
      }
      .font-num {
        font-family: DIN;
        color: #ffffff;
        font-size: 24px;
      }
    }
  }
  .leader-font {
    color: #ffffff;
    font-size: 20px;
    font-family: PingFang SC;
  }
  .leader-name {
  }
}

.div-mid {
  float: left;
  width: 1248px;
  margin-right: 15px;
  margin-left: 26px;
  .mid-top {
    width: 1220px;
    height: 293px;
    background-color: #350065;
    border: 1px solid;
    border-color: #440082;
    border-radius: 15px;

    // margin-left: 26px;

    .tupian {
      width: 100px;
      height: 78px;
      margin-left: 66px;
    }
    .cent {
      margin-left: 190px;
      margin-top: -70px;
    }

    .el-col {
      margin-bottom: 10px;
      // margin-left: -15px;
      margin-top: 25px;
      &:last-child {
        margin-bottom: 0;
      }
    }

    .font-name {
      font-family: Microsoft YaHei;
      color: #ffffff;
      font-size: 22px;
      height: 29px;
    }

    .font-cent {
      font-family: Microsoft YaHei;
      font-weight: 700;
      color: #95dfff;
      font-size: 40px;
      height: 52px;
    }
  }

  .mid-mid {
    margin-top: 30px;
    // margin-left: 24px;

    .mid-cent {
      margin-top: 18px;
      width: 1220px;
      height: 686px;
      border-radius: 18px;
      margin-left: 4px;
    }

    .tupian {
      width: 1210px;
      height: 686px;
      border-radius: 18px;
    }
  }

  .div-progress {
    // position: absolute;
    margin-top: 40px;
    margin-left: -28px;
    margin-bottom: 1px;
    border-top: 2px solid;
    border-right: 2px solid;
    border-bottom: 2px solid;
    border-color: #440082;
    border-radius: 0px 15px 15px 0px;
    z-index: 99;
    height: 378px;
    width: 1238px;

    .progress-header {
      margin-left: 40px;
      // float: left;
      // position: absolute;

      .progress-cfg {
        margin-left: 300px;
        margin-top: -40px;
        float: left;
        // position: absolute;

        .cfg-finish {
          margin-left: 50px;
          width: 64px;
          height: 35px;
          background-color: #350065;
          border: 5px solid;
          border-color: #00d848;
          border-radius: 18px;
          float: left;
          // position: absolute;
        }
        .cfg-doing {
          margin-left: 50px;
          width: 64px;
          height: 35px;
          background-color: #350065;
          border: 5px solid;
          border-color: #ffea30;
          border-radius: 18px;
          float: left;
          // position: absolute;
        }
        .cfg-init {
          margin-left: 50px;
          width: 64px;
          height: 35px;
          background-color: #350065;
          border: 5px solid;
          border-color: #ff0000;
          border-radius: 18px;
          float: left;
          // position: absolute;
        }
        .cfg-finish-title {
          float: left;
          // position: absolute;
          margin-left: 5px;
          margin-top: 10px;
        }
        .cfg-title-font {
          width: 60px;
          height: 20px;
          font-family: Source Han Sans CN;
          color: #ffffff;
          font-size: 20px;
        }
      }
    }

    .progress-cent {
      position: absolute;
      width: 1220px;
      margin-left: 40px;
      margin-top: 30px;
      .el-row {
        .el-col {
          // width: 100px;
        }
      }
      .pro-cent-cent {
        width: 95px;
        height: 50px;
        background-color: #32005e;
        border: 7px solid;
        // border-color: #00d848;
        border-radius: 30px;
        margin-bottom: 47px;

        font-family: Microsoft YaHei;
        color: #ffffff;
        font-size: 18px;
        text-align: center;

        float: left;
      }

      .pro-align {
        // padding: 15px 10px 10px 10px;
        // transform: translateY(-10%);
      }

      .cent-cent-font {
        // padding: 10px;
        // transform: translateY(-50%);
      }

      .pro-item-bar {
        height: 10px;
        width: 43.5px;
        background-color: #5e9eeb;
        float: left;
        margin-top: 30px;
      }

      .pro-item-bar-2 {
        position: absolute;
        height: 47px;
        width: 10px;
        background-color: #5e9eeb;
        margin-top: 64px;
        margin-left: 50px;
      }
    }
  }
}

.div-right {
  // padding-left: -120px;
  float: left;
  width: 880px;

  .div-time-main {
    width: 873px;
    height: 83px;
    background-color: #350065;
    border: 1px solid;
    border-color: #440082;

    .time-cent {
      font-family: Source Han Sans CN;
      color: #ffffff;
      font-size: 40px;
      height: 40px;
      float: left;
      margin-left: 70px;
      margin-top: 23px;
    }
  }

  .div-weather-main {
    margin-top: 15px;
    width: 873px;
    height: 234px;
    // position: absolute;
    .weather-warning {
      position: absolute;
      z-index: 99;
      margin-left: 16px;
      width: 838px;
      height: 54px;
      background-color: #3e0076;
      border: 1px solid;
      border-color: #987db1;

      .el-image {
        width: 44px;
        height: 43px;
        margin-left: 46px;
        margin-top: 4px;
      }
      span {
        height: 40px;
        font-family: Microsoft YaHei;
        font-weight: 700;
        color: #ffea30;
        font-size: 30px;
        text-align: center;
        margin-left: 20px;
      }
    }

    .weather-cent {
      position: absolute;
      z-index: 10;
      width: 873px;
      height: 204px;
      background-color: #350065;
      border: 1px solid;
      border-color: #440082;
      margin-top: 30px;
    }
  }

  .div-party-main {
    width: 873px;
    height: 595px;
    background-color: #350065;
    // border: 1px solid;
    // border-color: #440082;
    margin-top: 30px;
    background-image: url("../../assets/yqdp/党建之窗+信息通告背景.png");
    background-size: cover;

    .party-header {
      padding-top: 10px;
    }
    .party-time {
      margin-left: 45px;
      margin-top: 30px;

      .time-cri {
        float: left;
        width: 20px;
        height: 20px;
        margin-top: 5px;
        margin-right: 15px;
        background-color: #ffffff;
        border: 1px solid;
        border-color: #6890f3;
        // border
        border-radius: 10px;
      }
      .time-font {
        float: left;
        height: 40px;
        font-family: Microsoft YaHei;
        color: #ffffff;
        font-size: 30px;
      }
    }
    .party-cent {
      margin-left: 45px;
      width: 787px;
      height: 421px;
      // margin-top: 25px;
      font-family: Microsoft YaHei;
      color: #ffffff;
      font-size: 22px;
      // letter-spacing: 41px;
      line-height: 35px;
      overflow: hidden;

      p {
        text-indent: 2em;
      }
    }
  }

  .div-notice-main {
    width: 873px;
    height: 513px;
    background-color: #350065;
    // border: 1px solid;
    // border-color: #440082;
    margin-top: 30px;
    background-image: url("../../assets/yqdp/党建之窗+信息通告背景.png");
    background-size: cover;

    .notic-cent-main {
      margin-left: 40px;
    }
    .notice-header {
      padding-top: 10px;
    }
    .notice-title {
      width: 390px;
      height: 35px;
      margin-top: 24px;
      font-family: Microsoft YaHei;
      font-weight: 700;
      color: #ffffff;
      font-size: 26px;
    }
    .notice-cent {
      width: 389px;
      height: 360px;
      margin-top: 10px;
      font-family: Microsoft YaHei;
      color: #ffffff;
      font-size: 22px;
      // letter-spacing: 19px;
      line-height: 35px;
      overflow: hidden;

      p {
        text-indent: 2em;
      }
    }

    .notic-pic {
      float: right;
      width: 396px;
      height: 383px;
      padding-right: 30px;
    }
  }
}

.title-font {
  font-family: Microsoft YaHei;
  font-weight: 700;
  color: #ffffff;
  font-size: 35px;
}
</style>
